import Vue from 'vue'
import VueRouter from 'vue-router'
import AboutView from '../views/AboutView.vue'
import HelloWorld from '../components/HelloWorld.vue'

Vue.use(VueRouter)

const routes = [{
	path: '/',
	component: HelloWorld
}, {
	path: '/about',
	component: AboutView
}]

const router = new VueRouter({
	routes
})

export default router
